package com.example.doctorstation.POJOMapper;


import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import com.example.doctorstation.POJOData.*;

@Mapper
public interface CatalogDictionaryMapper {
    //药品目录
    @Select("select * from config_drug")
    public List<Drug> findAllDrug();

    //频次目录
    @Select("select * from config_dictionary where DictType= '用药频次'")
    public List<Frequency> findAllFrequency();

    //用法目录
    @Select("select * from config_dictionary where DictType= '用药用法'")
    public List<Usage> findAllUsage();
}
